import util from "@/libs/util"
// 电梯信息列表-使用单位-分页
export function getselectEleInfoListUseOrg (data) {
  return util.http({
    url: `/biz-maint/maint/eleInfo/selectEleInfoListUseOrg`,
    method: "post",
    data
  })
}

// 电梯信息列表-电梯-分页
export function getselectEleInfoListEle (data) {
  return util.http({
    url: `/biz-maint/maint/eleInfo/selectEleInfoListEle`,
    method: "post",
    data
  })
}


// 责任认定管理-分页
export function getselectEleBindList (data) {
  return util.http({
    url: `/biz-maint/maint/eleInfo/selectEleBindList`,
    method: "post",
    data
  })
}

// 认脱电梯列表-使用单位-分页
export function getselectUnderwritingListUseOrg (data) {
  return util.http({
    url: `/biz-maint/maint/eleInfo/selectUnderwritingListUseOrg`,
    method: "post",
    data
  })
}

// 认脱电梯列表-电梯-分页
export function getselectUnderwritingListEle (data) {
  return util.http({
    url: `/biz-maint/maint/eleInfo/selectUnderwritingListEle`,
    method: "post",
    data
  })
}

// 认脱电梯列表-认脱电梯
export function getdoRemoveEle (data) {
  return util.http({
    url: `/biz-maint/maint/eleInfo/doRemoveEle`,
    method: "post",
    data
  })
}

// 电梯脱保管理-电梯池-分页
export function getpublicEleList (data) {
  return util.http({
    url: `/biz-maint/maint/eleInfo/publicEleList`,
    method: "post",
    data
  })
}

// 电梯池-认保
export function getdoUnderwriting (data) {
  return util.http({
    url: `/biz-maint/maint/eleInfo/doUnderwriting`,
    method: "post",
    data
  })
}

// 电梯池-申诉
export function getdoEleAppeal (data) {
  return util.http({
    url: `/biz-maint/maint/eleInfo/doEleAppeal`,
    method: "post",
    data
  })
}


// 电梯申诉列表-电梯被申诉记录
export function getselectEleAppealedPage (data) {
  return util.http({
    url: `/biz-maint/maint/eleInfo/selectEleAppealedPage`,
    method: "post",
    data
  })
}

// 电梯申诉列表-电梯申诉记录
export function getselectEleAppealPage (data) {
  return util.http({
    url: `/biz-maint/maint/eleInfo/selectEleAppealPage`,
    method: "post",
    data
  })
}

// 电梯被申诉记录-同意
export function getdeleteEleAppealed (data) {
  return util.http({
    url: `/biz-maint/maint/eleInfo/deleteEleAppealed`,
    method: "post",
    data
  })
}

// 电梯被申诉记录-不同意
export function getnotDeleteEleAppealed (data) {
  return util.http({
    url: `/biz-maint/maint/eleInfo/notDeleteEleAppealed`,
    method: "post",
    data
  })
}

// 电梯信息列表-电梯详情(概况，基本信息，关联段位，维保记录，巡查记录)
export function getselectEleInfoDetail(data) {
  return util.http({
    url: `/biz-maint/maint/eleInfo/selectEleInfoDetail`,
    method: "post",
    data
  })
}

export function getAdminPublicEleList (data) {
  return util.http({
    url: `/biz-maint/maint-admin/eleInfo/publicEleList`,
    method: "post",
    data
  })
}

export function getAdminPublicEleTotal (data) {
  return util.http({
    url: `/biz-maint/maint-admin/eleInfo/publicEleTotal`,
    method: "post",
    data
  })
}

export function getAdminAppealList (data) {
  return util.http({
    url: `/biz-maint/maint-admin/eleInfo/appealList`,
    method: "post",
    data
  })
}


export function getAdminNoMaintEleList (data) {
  return util.http({
    url: `/biz-maint/maint-admin/eleInfo/noMaintEleList`,
    method: "post",
    data
  })
}


export function getAdminNoManageEleList (data) {
  return util.http({
    url: `/biz-maint/maint-admin/eleInfo/noManageEleList`,
    method: "post",
    data
  })
}



export function getAdminmanufacturerList (data) {
  return util.http({
    url: `/biz-maint/maint-admin/eleInfo/manufacturerList`,
    method: "post",
    data
  })
}


export function getAdmineleTypeList (data) {
  return util.http({
    url: `/biz-maint/maint-admin/eleInfo/eleTypeList`,
    method: "post",
    data
  })
}


export function getAdminEleInfo (id) {
  return util.http({
    url: `/biz-maint/maint-admin/eleInfo/`+id,
    method: "get"
  })
}


export function getAdminEleInfoDetail(data) {
  return util.http({
    url: `/biz-maint/maint-admin/eleInfo/selectEleInfoDetail`,
    method: "post",
    data
  })
}



export function addAdminEleInfo(data) {
  return util.http({
    url: `/biz-maint/maint-admin/eleInfo/insert`,
    method: "post",
    data
  })
}

export function editAdminEleInfo (data) {
  return util.http({
    url: `/biz-maint/maint-admin/eleInfo/edit`,
    method: "put",
    data
  })
}

export function getAdminManageOrgInfoList (data) {
  return util.http({
    url: `/biz-maint/maint-admin/eleInfo/manageOrgList`,
    method: "post",
    data
  })
}

export function getAdminManageAreaOrgInfoList (data) {
  return util.http({
    url: `/biz-maint/maint-admin/eleInfo/manageAreaOrgList`,
    method: "post",
    data
  })
}

export function editEleListManageOrg (data) {
  return util.http({
    url: `/biz-maint/maint-admin/eleInfo/editManageOrg`,
    method: "post",
    data
  })
}

export function editEleByCodes (data) {
  return util.http({
    url: `/biz-maint/maint-admin/eleInfo/editEleByCodes`,
    method: "post",
    data
  })
}

